import Vue from 'vue'
import Router from 'vue-router'
import ElementUI from 'element-ui'
import Index from '@/components/Index/Index'
import university from '@/components/Index/university'
import download from '@/components/Index/download'
import login from '@/components/Index/login'
import register from '@/components/Index/register'
import consultation from '@/components/Index/consultation'
import number from '@/components/Index/number'
import classification from '@/components/Index/classification'
import competitor from '@/components/Index/competitor'
import article from '@/components/Index/article'
import password from '@/components/Index/password'
import wz from '@/components/Personal/wz'
import ds from '@/components/Personal/ds'
import wd from '@/components/Personal/wd'
import dy from '@/components/Personal/dy'
import pl from '@/components/Personal/pl'
import sc from '@/components/Personal/sc'
import admin from '@/components/Personal/admin'
import tz from '@/components/Personal/tz'
import ll from '@/components/Personal/ll'
import sz from '@/components/Personal/sz'
import person from '@/components/apply/person'
import media from '@/components/apply/media'
import gov from '@/components/apply/gov'
import org from '@/components/apply/org'
import editor from '@/components/Personal/editor'
import arg from '@/components/apply/arg'
import state from '@/components/apply/state'
import success from '@/components/apply/success'
import question from '@/components/apply/question'
import pkQuestion from '@/components/Index/pkQuestion'
import replyQuestion from '@/components/Index/replyQuestion'
import questionList from '@/components/Index/questionList'
import specialist from '@/components/Index/specialist'
import searchAll from '@/components/Index/searchAll'
import allSecret from '@/components/Secret/allSecret'
import paySecret from '@/components/Secret/paySecret'
import writeSecret from '@/components/Secret/writeSecret'
import hot from '@/components/Index/hot'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/university',
      name: 'university',
      component: university
    },
    {
      path: '/download',
      name: 'download',
      component: download
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/register',
      name: 'register',
      component: register
    },
    {
      path: '/consultation',
      name: 'consultation',
      component: consultation
    },
    {
      path: '/number',
      name: 'number',
      component: number
    },
    {
      path: '/classification',
      name: 'classification',
      component: classification
    },
    {
      path: '/competitor',
      name: 'competitor',
      component: competitor
    },
    {
      path: '/article',
      name: 'article',
      component: article
    },
    {
      path: '/password',
      name: 'password',
      component: password
    },
    {
      path: '/wz',
      name: 'wz',
      component: wz
    },
    {
      path: '/ds',
      name: 'ds',
      component: ds
    },
    {
      path: '/wd',
      name: 'wd',
      component: wd
    },
    {
      path: '/dy',
      name: 'dy',
      component: dy
    },
    {
      path: '/pl',
      name: 'pl',
      component: pl
    },
    {
      path: '/sc',
      name: 'sc',
      component: sc
    },
    {
      path: '/admin',
      name: 'admin',
      component: admin
    },
    {
      path: '/tz',
      name: 'tz',
      component: tz
    },
    {
      path: '/ll',
      name: 'll',
      component: ll
    },
    {
      path: '/sz',
      name: 'sz',
      component: sz
    },
    {
      path: '/person',
      name: 'person',
      component: person
    },
    {
      path: '/media',
      name: 'media',
      component: media
    },
    {
      path: '/gov',
      name: 'gov',
      component: gov
    },
    {
      path: '/org',
      name: 'org',
      component: org
    },
    {
      path: '/editor',
      name: 'editor',
      component: editor
    },
    {
      path: '/arg',
      name: 'arg',
      component: arg
    },
    {
      path: '/state',
      name: 'state',
      component: state
    },
    {
      path: '/success',
      name: 'success',
      component: success
    },
    {
      path: '/question',
      name: 'question',
      component: question
    },
    {
      path: '/pkQuestion',
      name: 'pkQuestion',
      component: pkQuestion
    },
    {
      path: '/replyQuestion',
      name: 'replyQuestion',
      component: replyQuestion
    },
    {
      path: '/questionList',
      name: 'questionList',
      component: questionList
    },
    {
      path: '/specialist',
      name: 'specialist',
      component: specialist
    },
    {
      path: '/searchAll',
      name: 'searchAll',
      component: searchAll
    },
    {
      path: '/allSecret',
      name: 'allSecret',
      component: allSecret
    },
    {
      path: '/paySecret',
      name: 'paySecret',
      component: paySecret
    },
    {
      path: '/writeSecret',
      name: 'writeSecret',
      component: writeSecret
    },{
      path: '/hot',
      name: 'hot',
      component: hot
    },
  ]
})
